package edu.hut.bookshop.service;

import edu.hut.bookshop.pojo.Business;

public interface BusinessService {
    /**
     *  商家注册
     * @param
     * @return
     */
    int insertBusiness(String bName,String  bPasswd);

    /**
     *  查询商家名
     * @param bName
     * @return
     */
    Business selectBybName(String bName);

    /**
     * 商家登录
     * @param bName
     * @param bPasswd
     * @return
     */
    Business buslogin(String bName,String  bPasswd);
}
